package com.dpj.mapper;

import com.dpj.pojo.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandMapper {
    List<Brand>  selectAll();
    int addOneBrand(@Param("brand") Brand brand);
    int deleteByID(Integer id);
    Brand selectByID(Integer id);
    int updateById(@Param("brand") Brand brand);
}
